package com.zhou.message.dao;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author lang.zhou
 * @since 2023-03-01
 */
@Data
@TableName("sys_send_message_detail")
public class SendMessageDetail implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 发送id;drea_send_message.id
     */
    private Long sendId;

    /**
     * 接收用户id;drea_user.userid
     */
    private Integer receiveUserId;

    /**
     * 接收地址;邮箱或手机号
     */
    private String address;

    /**
     * 状态;1-待发送;2-发送失败;3-发送成功
     */
    private Integer status;

    /**
     * 发送时间
     */
    private Date sendDt;

    /**
     * 收件人类型;1-抄送;2-收件人
     */
    private Integer receiveType;

}
